home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-09-12 | 1.8 KB | 57 lines | [TEXT/ttxt] |
- ************************************************************
- * Installation
- ************************************************************
-
- The Zebu runtime system is all you need if you want to use the
- parser/generator that was produced by the compiler (in form of a .tab
- file).
-
- The Zebu-compiler is necessary in order to convert the external
- grammar description (in form of a .zb file) into a LALR(1) parsing
- table (in form of a .tab file), and associated printers and semantic
- functions (in form of a <grammar-name>-domain.lisp file).
-
- Installation
- ------------
-
- 1. Check whether the pathname for the Zebu directory is correct in your
- installation.
-
- 2. In MCL evaluate
-
- (load "COMPILE-ZEBU.lisp")
-
- This compiles all of ZEBU.
-
- 3. To use ZEBU evaluate
-
- (load "ZEBU-init.lisp")
-
- (zb:zebu) ; to load the runtime system
-
- (zb:zebu-compiler) ; to load the grammar compiler
-
- (zb:zebu-rr) ; to load the rewrite-rule module
-
-
-
- Alternative Installation (using DEFSYSTEM)
- ------------------------------------------
-
- DEFSYSTEM makes it easier to load and compile grammars, since one does not
- need to remember the location of a module in a directory structure.
- The bad news is that this DEFSYSTEM is incompatible with the one
- maintained at CMU. At some point we will clean this up. (Anyone who
- would write the definition using the DEFSYSTEM distributed by CMU
- should send me the file and I will include it in the next version)
-
- To install, follow the directions in ZEBU-sys.lisp. You will need the
- portable DEFSYS which is available as DEFSYS.tar.gz at the same place
- as Zebu-???.tar.gz.
-
- The file ZEBU-sys.lisp defines three systems
-
- Zebu the runtime system
- Zebu-compiler the compiler
- Zebu-RR the rewrite rule system
-